package com.art.wisdom.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@SpringBootConfiguration
//@ConfigurationProperties(prefix="weixinc.properties")
//@Component
public class WechatConfig {
	
	@Value("${WeixinAppId}")
	private String appId;
	
	@Value("${WeixinAppSecret}")
	private String secret;
	
	@Value("${weixin_openid_url}")
	private String weixinOpenidUrl;
	
	
	@Value("${xiezhiwei}")
	private String xiezhiwei;
	
	
	@Value("${RedirectUri}")
	private String redirectUri;


	public String getAppId() {
		return appId;
	}


	public void setAppId(String appId) {
		this.appId = appId;
	}


	public String getSecret() {
		return secret;
	}


	public void setSecret(String secret) {
		this.secret = secret;
	}


	public String getWeixinOpenidUrl() {
		return weixinOpenidUrl;
	}


	public void setWeixinOpenidUrl(String weixinOpenidUrl) {
		this.weixinOpenidUrl = weixinOpenidUrl;
	}


	public String getXiezhiwei() {
		return xiezhiwei;
	}


	public void setXiezhiwei(String xiezhiwei) {
		this.xiezhiwei = xiezhiwei;
	}


	public String getRedirectUri() {
		return redirectUri;
	}


	public void setRedirectUri(String redirectUri) {
		this.redirectUri = redirectUri;
	}
	
}
